]> dgit.raspbian.org Git - gnome-shell.git/commit
workspace: Always leave overview when in app grid state
authorGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>
Fri, 5 Feb 2021 16:22:18 +0000 (13:22 -0300)
committerMarge Bot <marge-bot@gnome.org>
Thu, 11 Feb 2021 17:21:48 +0000 (17:21 +0000)
commit2e817d3fa8cf3697511b7fca59e2ebeb82d2ee15
treec145054e7c3d5a32bc1d43486d5ce65dc903d42c
parentd6a1414a948e5e37995e70724d3d224d41b419f6
workspace: Always leave overview when in app grid state

The behavior of workspaces is different depending on whether
the overview is in window picker state, or app grid state.

When in window picker state, clicking on adjacent workspaces
should only activate them, without hiding the overview; and
clicking on the active workspace hides the overview. When in
app grid state, clicking on a workspace must always hide the
overview.

Pass the overview adjustment to Workspace, and leave overview
if the overview state is bigger than WINDOW_PICKER.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1645>
js/ui/workspace.js
js/ui/workspacesView.js